package teleradiologia.repository;

import java.util.List;

import teleradiologia.domain.Technician;

public interface TechnicianDao {
	// simple CRUD operations
	String create(Technician technician);	 // create
	Technician getByNip(String nip);		 // read
	Technician getByIdPerson(long idPerson);
	void update(Technician technician);	 // update
	void delete(Technician technician);	 // delete
	
	public List<Technician>getAllByKrsnumber(String krsnumber);

	public List<Technician> getAll();
}
